<template>
	<view class="withdrawPage">
		<an-nav-bar title="我的魔豆">
			<template :slot="'right'">
				<view style="color:#fff">提现记录</view>
			</template>
		</an-nav-bar>
		<view class="content">
			<view class="box">
				<view class="title">提现金额</view>
				<view class="line flex">
					￥
					<input type="text">
					<span>全部提现</span>
				</view>
				<view class="tips flex">
					<i></i>
					<b>可提现金额</b>
					<span>0.00</span>
					<b>元</b>
				</view>
			</view>
			<view class="from">
				<view class="line flex">
					<view class="left">提现至</view>
					<view class="right">
						<image src="/static/zhifubao.png" mode=""></image>
					</view>
				</view>
				<view class="line flex">
					<view class="left">提现账号</view>
					<view class="right">
						<span>请先绑定收款支付宝</span>
					</view>
				</view>
			</view>
			<view class="btn disabled">申请提现</view>
			<view class="tipsBox">
				<view class="title">提现说明</view>
				<view class="t">1. 每天最多可提现1次。</view>
				<view class="t">2. 提现最小额度为1元。</view>
				<view class="t">3. 由于平台审核，提现申请将在24小时内到账。如遇高峰期，可能延迟到账，请耐心等待。</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.withdrawPage {
		background: #f8f8f8;
		min-height: 100vh;

		.content {
			.box {
				margin: 30rpx 0 10rpx;
				background: #fff;
				box-sizing: border-box;
				padding: 0 50rpx 0 30rpx;

				.tips {
					height: 80rpx;
					color: #666;
					font-size: 30rpx;

					span {
						color: #ff8601;
					}

					i {
						display: block;
						width: 30rpx;
						height: 30rpx;
						background: url(/static/tips.png) no-repeat;
						background-size: 100% auto;
						margin-right: 10rpx;
					}
				}

				.line {
					color: #333;
					font-weight: 700;
					font-size: 38rpx;
					padding-bottom: 10rpx;
					border-bottom: 2rpx solid #f8f8f8;
					align-items: flex-end !important;

					input {
						color: #333;
						font-size: 80rpx;
						line-height: normal;
						padding: 0 10rpx;
						flex: 1;
					}

					span {
						color: #5290ef;
						font-size: 28rpx;
					}
				}

				.title {
					color: #666;
					font-size: 28rpx;
					padding: 20rpx 0;
				}
			}

			.from {
				background: #fff;
				box-sizing: border-box;
				padding: 0 30rpx;

				.line {
					height: 100rpx;
					color: #333;
					font-size: 30rpx;
					border-bottom: 2rpx solid #f8f8f8;

					.left {
						width: 100px;
					}

					.right {
						display: flex;
						align-items: center;
						justify-content: flex-end;
						flex: 1;

						span {
							color: #e02020;
						}

						image {
							width: 60rpx;
							height: 60rpx;
							border-radius: 50%;
						}

						&::after {
							display: block;
							content: "";
							width: 12rpx;
							height: 22rpx;
							background: url(/static/grey-arrow-right.png) no-repeat;
							background-size: 100% auto;
							margin-left: 5px;
						}
					}
				}
			}

			.btn {
				width: 640rpx;
				height: 80rpx;
				background: #aa8050;
				border-radius: 40rpx;
				color: #fff;
				font-size: 28rpx;
				text-align: center;
				line-height: 80rpx;
				margin: 78rpx auto 50rpx;
				cursor: pointer;
			}

			.disabled {
				background: #ccc;
			}

			.tipsBox {
				color: #999;
				font-size: 26rpx;
				padding: 0 56rpx;

				.title {
					color: #666;
					font-size: 28rpx;
				}

				.t {
					color: #999;
					font-size: 26rpx;
				}
			}
		}
	}
</style>
